<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Skills
 *
 * @property integer $id
 * @property string $skill
 * @method static \Illuminate\Database\Query\Builder|\App\Skills whereId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Skills whereSkill($value)
 * @property-read \Illuminate\Database\Eloquent\Collection|\App\Org[] $org
 * @property string $deleted_at
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @method static \Illuminate\Database\Query\Builder|\App\Skills whereDeletedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Skills whereCreatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Skills whereUpdatedAt($value)
 */
class Skills extends Model
{
    protected $table = "skills";
    use SoftDeletes;

    public function org(){
        return $this->belongsToMany('App\Org','org_x_skill','skill_id','org_id');
    }
}